package routers

import (
	"cashew.com/cashew_task/controllers"
	beego "github.com/beego/beego/v2/server/web"
)

// 注册所有beego路由
func init() {
	beego.Router("/jobTrigger/cleanUser", &controllers.JobTriggerController{}, "Get:CleanUser")
	beego.Router("/jobTrigger/exceptionUserHandle", &controllers.JobTriggerController{}, "Get:ExceptionUserHandle")

	beego.Router("/user/tagActiveUsers", &controllers.UserController{}, "Get:TagActiveUsers")
	beego.Router("/user/sendUserOfflineLiveMessage", &controllers.UserController{}, "Get:SendUserOfflineLiveMessage")

	beego.Router("/anchor/anchorRating", &controllers.AnchorController{}, "get:AnchorRating")
	beego.Router("/anchor/anchorWorkStatsDay", &controllers.AnchorController{}, "get:AnchorWorkStatsDay")

}
